home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Miscellany / AppearanceManagerUser.h < prev    next >
Text File  |  2000-06-23  |  516b  |  28 lines

  1. // AppearanceManagerUser.h
  2.  
  3. #ifndef AppearanceManagerUser_h
  4. #define AppearanceManagerUser_h
  5.  
  6. #ifndef Integers_h
  7. #include "Integers.h"
  8. #endif
  9.  
  10. class AppearanceManagerUser
  11.   {
  12.     private:
  13.         class Initializer;
  14.         
  15.         static uint16 GetVersion();
  16.         
  17.     public:
  18.         AppearanceManagerUser();
  19.         
  20.         static uint16 Version();
  21.         
  22.         static bool Exists()                            { return Version() > 0; }
  23.         static bool AtLeastVersion1_0_1()        { return Version() >= 0x0101; }
  24.         static bool AtLeastVersion1_1_0()        { return Version() >= 0x0110; }
  25.   };
  26.  
  27. #endif
  28.